package com.lipl.base.javase.utils;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @Auther: 15541
 * @Date: 2020/5/28 09:03
 * @Description:
 */
public class MapTest {
    public static void main(String[] args) {
        Map map = new HashMap<>();

        map.put("111",'3');

        String aa = "111";

        String bb[] = {"111"};

        List<String> list = new ArrayList<String>();
        list.add("111");

        Map dataMap = new HashMap<>();
        dataMap.put('a',"111");

        System.out.println(map.get(aa));
        System.out.println(map.get(bb[0]));
        System.out.println(map.get(list.get(0)));
        System.out.println(dataMap.get('a'));
    }
}

